package com.dhcy.mqtt.par.ht;



import lombok.Data;
import javax.validation.constraints.NotBlank;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;



@Data
@ApiModel(value="设备新增修改",reference ="设备新增修改" )
public class DeviceAddPar {
   @ApiModelProperty(value="",dataType = "Integer ",example = "")
   private Integer id;
   @NotBlank(message = "设备名称不能为空")
   @ApiModelProperty(value="设备名称",dataType = "String ",example = "")
   private String name;
   @NotBlank(message = "设备编号不能为空")
   @ApiModelProperty(value="设备编号",dataType = "String ",example = "")
   private String code;
   @NotBlank(message = "创建时间不能为空")
   @ApiModelProperty(value="创建时间",dataType = "Date ",example = "")
   private String createTime;
   @NotBlank(message = "更新时间不能为空")
   @ApiModelProperty(value="更新时间",dataType = "Date ",example = "")
   private String updateTime;

   String descs;

   Integer classId;

}
